//
//  FundDetailViewController.m
//  Futures
//
//  Created by Cheng on 2017/7/19.
//  Copyright © 2017年 Cheng. All rights reserved.
//

#import "FundDetailViewController.h"
#import "FundDetailCell.h"
#define kFundDetailCellID @"kFundDetailCellID"

@interface FundDetailViewController ()

@end

@implementation FundDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"全部明细";
    
    self.tableView.tableFooterView = [[UIView alloc] init];
}


- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 60;
}


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 8;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    FundDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:kFundDetailCellID forIndexPath:indexPath];
    
    return cell;
}


- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
}

@end
